package test;

import jgame.JGObject;

public class LolBoll extends JGObject {

	static int collisions = 0;
	
	public LolBoll(String name, boolean unique_id, double x, double y,
			int collisionid, String gfxname, double xspeed, double yspeed,
			int expiry) {
		super(name, unique_id, x, y, collisionid, gfxname, xspeed, yspeed, expiry);
	}
	
	public void hit(JGObject evil){
		System.out.println("Collision number " + ++collisions);
	}

}
